package com.md5;

public class TestMd5 {
	public static void main(String[] args) {
		
		
		long start2=System.currentTimeMillis();
		for(int i=0;i<10000;i++)
		MD5Encode.getMD5Str("abcd");
		System.out.println(MD5Encode.getMD5Str("abcd"));
		System.out.println(System.currentTimeMillis()-start2);

		long start=System.currentTimeMillis();
		for(int i=0;i<10000;i++)
			MD5Util.encode("SHA","abcd");
		System.out.println(MD5Util.encode("SHA","abcd"));
		System.out.println(System.currentTimeMillis()-start);
	}
}
